package com.caowei.weicimpress.weicimpress.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.widget.FrameLayout;

/**
 * Created by caoweiPc on 2014/7/20.
 */
public class MyFrameLayout extends FrameLayout implements View.OnTouchListener {
    public MyFrameLayout(Context context) {
        this(context, null);
    }
    public MyFrameLayout(Context context,AttributeSet set) {
        this(context, set, 0);
    }

    public MyFrameLayout(Context context, AttributeSet attrs, int defStyle) {
        super(context,attrs,defStyle);
        this.setOnTouchListener(this);
    }

    @Override
    public boolean onTouch(View v, MotionEvent event) {
        return true;
    }
}
